package com.test.mapper;

import com.test.model.dto.page.QuestionPageQuery;
import com.test.model.dto.wrongTime.WrongTimeCountsDTO;
import com.test.model.pojo.MultipleQuestion;
import com.test.model.pojo.SingleQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MultipleQuestionMapper {
    Integer getCounts();

    MultipleQuestion getQuestionById(Integer id);

    void updateUserQuestion(WrongTimeCountsDTO wrongTimeCountsDTO);
    List<MultipleQuestion> getMultiQuestionPage(QuestionPageQuery QuestionPageQuery);
}
